package diva.pap.affiliate;

import android.app.Activity;
import diva.pap.R;
import diva.pap.transactions.TransactionRow;
import diva.pap.transactions.TransactionsPresenterBase;

public class AffiliateTransactionsActivity extends Activity {

  private final TransactionsPresenterBase presenter = new TransactionsPresenterBase(this,
      R.layout.affiliate_transactions_row) {
    @Override
    protected TransactionRow createTransactionRow() {
      return new AffiliateTransactionRow();
    }
  };

  @Override
  protected void onCreate(android.os.Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    presenter.onCreate(savedInstanceState);
  };

  @Override
  protected void onDestroy() {
    presenter.onDestroy();
    super.onDestroy();
  }
}
